assume cs:code

code segment
    mov ax,0FFFFh
    mov ds,ax
    mov dx,0
    mov cx,12
    mov bx,0


s:  mov al,ds:[bx]
    mov ah,00h
    add dx,ax
    inc bx
    loop s

    mov ax,4c00h
    int 21h

code ends
end    